package net.maku.system.convert;

import net.maku.system.entity.OperationLogEntity;
import net.maku.system.vo.OperationLogVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 皂搓日志
*
* @author yebing 
* @since 1.0.0 2023-07-29
*/
@Mapper
public interface OperationLogConvert {
    OperationLogConvert INSTANCE = Mappers.getMapper(OperationLogConvert.class);

    OperationLogEntity convert(OperationLogVO vo);

    OperationLogVO convert(OperationLogEntity entity);

    List<OperationLogVO> convertList(List<OperationLogEntity> list);

}